package com.sap.sap_mangers.dto.Navigation;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 樊东升
 * @date 2022/8/19 23:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateNavigation {
    private Integer id;
    private String url;
    private String urlName;
    private MultipartFile image;
    private Integer rank;
    private Integer classify;
    private String note;

    public UpdateNavigation(Integer id, String url, String urlName, MultipartFile image, Integer classify, String note) {
        this.id = id;
        this.url = url;
        this.urlName = urlName;
        this.image = image;
        this.classify = classify;
        this.note = note;
    }
}
